<?php
include("../common.inc.php");
InitGP(array("page","action","bid","oid","delids","verify")); //初始化变量全局返回
//include("function_common.php");
//初始化对象
include(INC_PATH."/order.class.php");
$o=new OrderClass();

if(empty($action) && $verify=="27UsSBWVnF3dwfPu"){
	InitGP(array("gid","order_sn","uid")); //初始化变量全局返回
	if(!empty($gid))$wherestr[]="gid='{$gid}'";
	if(!empty($order_sn))$wherestr[]="order_sn like '%{$order_sn}%'";
	if(!empty($uid))$wherestr[]="uid={$uid}";
	$wherestr[]="referer Like 'www.123.com.tw%'";
	if(!empty($wherestr)) $wheresql = implode(' AND ', $wherestr);	//条件汇总
	
	//获取当前页码
	$dataarray=$o->getdata("",$wheresql); //获取团购数据
	
	//包含后台模板文件
	include("tpl/123_order_list.htm");
}


?>

